package parser;

import server.SimpleDB;
import storage.transaction.Transaction;

public class UseDBData extends ManipulateData {

	private String db_name;

	public UseDBData(String n) {
		db_name = n;
	}

	public String dbName() {
		return db_name;
	}

	@Override
	public int execute(Transaction tx) {
		return SimpleDB.uplanner().executeUseDB(this, tx);
	}

}
